﻿using System;
using System.Collections.Generic;

namespace SharpSqlAnalyzer.nodes.hive
{
	// Token: 0x0200040F RID: 1039
	public class THiveGrantRoleSqlNode : TParseTreeNode
	{
		// Token: 0x17000925 RID: 2341
		// (get) Token: 0x06002846 RID: 10310 RVA: 0x0033C6DB File Offset: 0x0033A8DB
		// (set) Token: 0x06002847 RID: 10311 RVA: 0x0033C6E3 File Offset: 0x0033A8E3
		public virtual bool Revoke
		{
			get
			{
				return this.revoke;
			}
			set
			{
				this.revoke = value;
			}
		}

		// Token: 0x17000926 RID: 2342
		// (get) Token: 0x06002848 RID: 10312 RVA: 0x0033C6EC File Offset: 0x0033A8EC
		public virtual TObjectNameList RoleList
		{
			get
			{
				return this.roleList;
			}
		}

		// Token: 0x17000927 RID: 2343
		// (get) Token: 0x06002849 RID: 10313 RVA: 0x0033C6F4 File Offset: 0x0033A8F4
		public virtual List<THivePrincipalName> Principals
		{
			get
			{
				return this.principals;
			}
		}

		// Token: 0x0600284A RID: 10314 RVA: 0x0033C6FC File Offset: 0x0033A8FC
		public override void init(object arg1, object arg2)
		{
			this.roleList = (TObjectNameList)arg1;
			this.principals = (List<THivePrincipalName>)arg2;
		}

		// Token: 0x04001E43 RID: 7747
		private TObjectNameList roleList;

		// Token: 0x04001E44 RID: 7748
		private List<THivePrincipalName> principals;

		// Token: 0x04001E45 RID: 7749
		private bool revoke;
	}
}
